package com.zgys.project_mgr.project.dao;

import com.zgys.project_mgr.project.model.po.ProjectPo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author wx
 * @date 2018-09-29 14:49:42
 */
@Mapper
@Repository
public interface ProjectDao {

	ProjectPo get(Integer id);

	List<ProjectPo> list(Map<String,Object> map);

	int count(Map<String,Object> map);

	int save(ProjectPo project);

	int update(ProjectPo project);

	int remove(Integer id);

	int batchRemove(Integer[] ids);
}
